﻿//权限控制模块开始
var Save_Successed = "保存成功。";
var Del_Successed = "保存成功。";

//权限控制模块结束

//用户登录开始
var Login_UserNull="管理员帐号不能为空";
var Login_UserPwdNull="管理员密码不能为空";
var Login_TeacherNull="教师工号不能为空";
var Login_TeacherPwdNull="教师密码不能为空";

var Login_UserError = "管理员帐号错误";
var Login_TeacherError = "教师帐号错误";
var Login_PwdError = "密码错误";
var Login_NoEvalrror = "此时没有任何评估任务";
var Login_NoBatchesError = "没有可用的评估批次";
var Login_EvalDone = "已经完成评估，不可再用";
var Login_Retry = "服务器忙，请重试";//创建失败,请重试

var Login_ExptionError = "异常错误。";
var LOGIN_ERR = "无法登录因为目前没有参评对象";
//用户登录结束
//修改密码
var UPDATEPWD_NOPWD_ERROR = '请输入原密码';
var UPDATEPWD_PWD_ERROR = '原密码错误';
var UPDATEPWD_NONEWPWD_ERROR = '请输入新密码';
var UPDATEPWD_NONEWPWD2_ERROR = '请输入确认新密码';
var UPDATEPWD_NEWPWDNOTCMP_ERROR = '两次输入的新密码不一致';
var UPDATEPWD_EXCEPTION="修改密码出现异常";
var UPDATEPWD_OK="密码修改成功";
//修改密码结束



//基础模块
//课程管理
var CAUSE_INSERT_SUCC = "课程添加成功";
var CAUSE_INSERT_FAIL = "课程添加失败";
var CAUSE_UPDATE_SUCC = "课程更新成功";
var CAUSE_UPDATE_FAIL = "课程更新失败";
var CAUSE_DEL_SUCC = "课程删除成功";
var CAUSE_DEL_FAIL = "课程删除失败";
var CAUSE_DEL_FAIL1 = "课程已被使用，删除失败";
var CAUSE_FAIL = "课程验证过程失败，您可以刷新后重试";
var CAUSE_USED_FAIL = "该课程已被使用，不能删除";
var CAUSE_NAME_FAIL = "该课程已存在，请重新输入";
var CAUSE_QUERY_NOSELECT = "请选择查询方式";
var CAUSE_QUERY_FAIL = "课程查询失败";
var CAUSE_CODE_NOT_NUMBER = "课程编号不是数字，请重新输入";
var CAUSE_NAME_IS_NULL = "课程名称不能为空，请重新输入";
var CAUSE_NAME_WRONG = "课程名称包含特殊字符，请重新输入";
//班级管理
var CLASS_INSERT_SUCC = "班级添加成功";
var CLASS_INSERT_FAIL = "班级添加失败";
var CLASS_UPDATE_SUCC = "班级更新成功";
var CLASS_UPDATE_FAIL = "班级更新失败";
var CLASS_DEL_SUCC = "班级删除成功";
var CLASS_DEL_FAIL = "班级删除失败";
var CLASS_FAIL = "班级验证过程失败，您可以刷新后重试";
var CLASS_USED_FAIL = "该班级已被使用，不能删除";
var CLASS_NAME_FAIL = "该班级名称已存在，请重新输入";
var CLASS_CODE_FAIL = "该班级编号已存在，请重新输入";
var CLASS_NAME_NON_FAIL = "班级名称不允许为空，请输入";
var CLASS_DELETE_SURE = "确定将该班级删除?";
var CLASS_DEL_FAIL_HAVE_STUDENT = "请先删除该班级的学生";
var CLASS_CODE_IS_NULL = "班级编号不能为空，请重新输入!";
var CLASS_CODE_NOT_NUMBER = "班级编号只能为数字，请重新输入";
var CLASS_NAME_IS_NULL = "班级名称不能为空，请重新输入";
var CLASS_NAME_IS_WRONG = "班级名称存在特殊字符，请重新输入";
var CLASS_HEADER_NO_SELECT = "请选择班主任";
var TEACHER_IS_NULL = "本年级组不存在任何教师，请您进行设置";
//教学配置
var TEACHER_IS_EXIST = "该教研组下面已存在该教师";
var TEACHER_REMOVE = "确定将该教师从此教研组移出?";
var TEACHER_DELETE = "此操作会删除选中教师的任课信息，确定删除？";
var TEACHER_NO_SELECT = "请选择您要删除的教师";
var TEACHER_QUERY_FAIL = "查询教师班级信息失败";
var TEACHSETTING_UPDATE_SUCC = "教学设置更新成功";
var TEACHSETTING_UPDATE_FAIL = "教学设置更新失败";
var CLASS_CAUSE_HAVE_TEACHER = "某一个班级的这门课程已存在教师，请确认后再重新提交";
//教师管理
var USER_INSERT_SUCC = "教师添加成功";
var USER_INSERT_FAIL = "教师添加失败";
var USER_UPDATE_SUCC = "教师更新成功";
var USER_UPDATE_FAIL = "教师更新失败";
var USER_DEL_SUCC = "教师删除成功";
var USER_DEL_FAIL = "教师删除失败";
var RESET_PASSWORD_SUCC = "重置密码成功";
var RESET_PASSWORD_FAIL = "重置密码失败";
var USER_FAIL = "教师验证过程失败，您可以刷新后重试";
var USER_NAME_FAIL = "该教师名已存在，请重新输入";
var USER_NAME_NON_FAIL = "基本信息不能为空，请输入";
var USER_FIND_FAIL = "获取教师信息失败，请刷新重试";
var CAUCLS_VALIDATE_FAIL = "该班级已设置课程和教师，请检查并重新输入";
var USER_CODE_USED = "工号已被使用，请重新输入后再保存";
var USER_IS_USED = "该教师正在参与评估，暂时不能被删除，请结束评估后重试";
//学生管理
var STUDENT_FAIL = "验证学生信息失败，请刷新后重试";
var STUDENT_CODE_FAIL = "该学生编号已存在，请重新输入";
var STUDENT_INSERT_FAIL = "学生添加失败";
var STUDENT_INSERT_SUCC = "学生添加成功";
var STUDENT_UPDATE_FAIL = "学生更新失败";
var STUDENT_UPDATE_SUCC = "学生更新成功";
var STUDENT_DELETE_SUCC = "学生删除成功"
var STUDENT_DELETE_FAIL = "学生删除失败";
var STUDENT_CODE_NULL = "学号不能为空，请重新输入";
var STUDENT_NAME_NULL = "姓名不能为空，请重新输入";
var STUDENT_NAME_LENTH = "学生学号不能超过二十个字符，请重新输入";
var STUDENT_CODE_WRONG = "学生学号存在特殊字符，请重新输入";
var STUDENT_NAME_WRONG = "学生姓名存在特殊字符，请重新输入";
var STUDENT_BRITHDAY_NULL = "出生日期不能为空，请重新输入";
var STUDENT_INSCHOOLDATE_NULL = "入学时间不能为空，请重新输入";
var STUDENT_DELETE_SURE = "确定从该班级里面删除选中的学生？";
var STUDENT_NO_SELECT = "请先选择学生";
var STUDENT_RESET_PWD_SUCC = "重置密码成功";
var STUDENT_RESET_PWD_FAIL = "重置密码失败";
var STUDENT_RESET_SURE = "确认将选中学生密码恢复为\"123456\"?";








//showMassgeBox
var NOTIC = 1;
var ERROR = 2;
var ALERT = 3;
var QUESTION = 4;


var MSG_ERROR_TITLE = "系统异常";
var MSG_ERROR_MESSAGE = "系统出错了";